<template>
  <!-- <vue实例化创建 -->
     <div>
         home
     </div>
 </template>
 <!-- 调用  -->
 <script>
 export default{
  mounted(){
      //this.$route:当前路由对象
      console.log(this.$route.query);
  }
 }
 </script>